exports.validateSign = function(req,res) {

    //获取body参数
    var bodyParams = req.routeInfo.bodyParams;

    var orderData = {};

    //构建任务流
    async.waterfall([

        //获取
        function(cb){

            R.SEND_HTTP(
                req,
                {
                    url    : "http://127.0.0.1/WCHATPAY/vSign.php",
                    method : 'POST',
                    data : {
                        "nonce_str" : bodyParams.nonce_str,
                        "signType" : bodyParams.signType,
                        "package" : bodyParams.package,
                        "time_stamp" : bodyParams.time_stamp
                    }
                },
                function (err, data) {

                    if(err){

                        return RES.response(res,false,data);

                    }

                    orderData = data;

                    cb();
                }
            );
            

        }

    ], function (err, result) {
        return RES.response(res, true,orderData);
    });

}